<?php
$dbConfig = include(YDCMS_DATA . 'common.inc.php');
$HomeConfig = array(
    'DEFAULT_V_LAYER'       =>  'Templets', // 默认的视图层名称
    'TMPL_FILE_DEPR'        =>  '/', //模板文件CONTROLLER_NAME与ACTION_NAME之间的分割符
    'DB_SQL_BUILD_CACHE'    => true,
    'SHOW_PAGE_TRACE'       => FALSE, 
    // error，success跳转页面
    'TMPL_ACTION_ERROR'     => THINK_PATH . 'Tpl/dispatch_jump.tpl',
    'TMPL_ACTION_SUCCESS'   => THINK_PATH . 'Tpl/dispatch_jump.tpl',
    'URL_ROUTER_ON'   => true, 
    'URL_ROUTE_RULES' 		=> array( 			//定义路由规则
        'api/:token'        => 'Home/Weixin/index',
        //'show/:token'        => 'Home/Adma/index',
    ),
    'HTML_FILE_SUFFIX' => '.html'
    
);
define('HTML_PATH',      C('HTML_DIR'));
return array_merge($HomeConfig, $dbConfig);